package com.shine.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shine.entity.Role;
import com.shine.info.RoleInfo;
import com.shine.request.RoleCreateRequest;
import com.shine.request.RoleUpdateRequest;

import java.util.List;

/**
 * @author huihui
 * @date 2025/10/16 14:51
 * @description RoleService
 */
public interface RoleService extends IService<Role> {

    List<RoleInfo> listRole();

    Boolean deleteById(Long id);

    Boolean updateRole(RoleUpdateRequest request);

    Boolean saveRole(RoleCreateRequest request);

}
